Fix a sporadic segfault in treeview keynav
authorMatthias Clasen <mclasen@redhat.com>
Tue, 10 Aug 2010 04:31:46 +0000 (00:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 10 Aug 2010 04:31:46 +0000 (00:31 -0400)
commitfb48e023d2959b5596eae54728c689264ffabdbd
tree5075bcff8755818d448ea7cb3c23aead8b535e0c
parente3bd926c1ef83027c756488ba19f4353930fc6db
Fix a sporadic segfault in treeview keynav

If a a treeview has frequent periodic additions and removals of
rows, it is possible that a page down keypress moves the cursor
out of the height of the treeview. In some of these cases, we
can be tricked into dereferencing a  NULL pointer.

Bug 612919.
gtk/gtktreeview.c